package com.vlong.town.entity.house;

import java.io.Serializable;

/**
 * 房屋出租信息实体类
 * @author Assassin
 */
public class HouseInfo implements Serializable {

    /**
     * default SerialVersionUID
     */
    private static final long serialVersionUID = 1L;

    // Fields

    private Long infoId;// 标识信息-房屋出租Id[主键值]
    private Long townId;// 标识信息-村镇Id
    private Integer state;// 状态信息-数据状态[1-正常 | 2-删除]
    private Integer status;// 状态信息-房屋出租状态[1-已发布]
    private String title;// 基础信息-房屋出租标题
    private String content;// 基础信息-房屋出租内容
    private String desc;// 基础信息-房屋出租简介
    private String thumbnail;// 基础信息-缩略图
    private String acreage;// 基础信息-房屋面积
    private String address;// 基础信息-房屋位置
    private Long monthlyRent;// 基础信息-月租金[单位：分]
    private String publicUser;// 操作信息-发布人Id
    private String userName;//操作信息-发布人
    private Long createTime;// 时间信息-发布时间
    private Long updateTime;// 时间信息-更新时间
    private String  createDate;//时间
    // Empty Constructor
    public HouseInfo() {
        super();
    }



    // Property accessors


    public HouseInfo(Long infoId, Long townId, Integer state, Integer status,
			String title, String content, String desc, String thumbnail,
			String acreage, String address, Long monthlyRent,
			String publicUser, String userName, Long createTime, Long updateTime) {
		super();
		this.infoId = infoId;
		this.townId = townId;
		this.state = state;
		this.status = status;
		this.title = title;
		this.content = content;
		this.desc = desc;
		this.thumbnail = thumbnail;
		this.acreage = acreage;
		this.address = address;
		this.monthlyRent = monthlyRent;
		this.publicUser = publicUser;
		this.userName = userName;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}



	public String getCreateDate() {
		return createDate;
	}



	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}



	public Long getInfoId() {
        return infoId;
    }

    public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public void setInfoId(Long infoId) {
        this.infoId = infoId;
    }

    public Long getTownId() {
        return townId;
    }

    public void setTownId(Long townId) {
        this.townId = townId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(String thumbnail) {
        this.thumbnail = thumbnail;
    }

    public String getAcreage() {
        return acreage;
    }

    public void setAcreage(String acreage) {
        this.acreage = acreage;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Long getMonthlyRent() {
        return monthlyRent;
    }

    public void setMonthlyRent(Long monthlyRent) {
        this.monthlyRent = monthlyRent;
    }

    public String getPublicUser() {
        return publicUser;
    }

    public void setPublicUser(String publicUser) {
        this.publicUser = publicUser;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "HouseInfo{" +
                "infoId=" + infoId +
                ", townId=" + townId +
                ", state=" + state +
                ", status=" + status +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", desc='" + desc + '\'' +
                ", thumbnail='" + thumbnail + '\'' +
                ", acreage='" + acreage + '\'' +
                ", address='" + address + '\'' +
                ", monthlyRent=" + monthlyRent +
                ", publicUser='" + publicUser + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
